<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/1/8
  Time: 15:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8"/>
    <title>show</title>
</head>
<body>
    <h1>欢迎：${sessionScope.login}</h1>
    <form action="${pageContext.request.contextPath}/user/removeAny.do">
        <table border="2">
            <tr>
                <td><input type="submit" value="删除选中"/></td>
                <td>ID</td>
                <td>名字</td>
            </tr>
            <c:forEach var="u" items="${list}">
                <tr>
                    <td><input type="checkbox" name="ids" value="${u.id}"></td>
                    <td><input type="text" name="id" value="${u.id}"></td>
                    <td><input type="text" name="username" value="${u.username}"></td>
                </tr>
            </c:forEach>
        </table>
    </form>
</body>
</html>
